home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 26 web services / advancedwsclient / web references / localhost / sampleservice.wsdl < prev   
Encoding:
Extensible Markup Language  |  2002-03-01  |  28.0 KB  |  744 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <definitions xmlns:s1="http://www.vb2themax.com/encodedTypes" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.vb2themax.com/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.vb2themax.com/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  3.   <types>
  4.     <s:schema elementFormDefault="qualified" targetNamespace="http://www.vb2themax.com/">
  5.       <s:element name="GetTime">
  6.         <s:complexType>
  7.           <s:sequence>
  8.             <s:element minOccurs="1" maxOccurs="1" name="arg" type="s:int" />
  9.           </s:sequence>
  10.         </s:complexType>
  11.       </s:element>
  12.       <s:element name="GetTimeResponse">
  13.         <s:complexType>
  14.           <s:sequence>
  15.             <s:element minOccurs="1" maxOccurs="1" name="GetTimeResult" type="s:dateTime" />
  16.           </s:sequence>
  17.         </s:complexType>
  18.       </s:element>
  19.       <s:element name="GetTimeCounter">
  20.         <s:complexType />
  21.       </s:element>
  22.       <s:element name="GetTimeCounterResponse">
  23.         <s:complexType>
  24.           <s:sequence>
  25.             <s:element minOccurs="1" maxOccurs="1" name="GetTimeCounterResult" type="s:int" />
  26.           </s:sequence>
  27.         </s:complexType>
  28.       </s:element>
  29.       <s:element name="IncrementCounter">
  30.         <s:complexType />
  31.       </s:element>
  32.       <s:element name="IncrementCounterResponse">
  33.         <s:complexType>
  34.           <s:sequence>
  35.             <s:element minOccurs="1" maxOccurs="1" name="IncrementCounterResult" type="s:int" />
  36.           </s:sequence>
  37.         </s:complexType>
  38.       </s:element>
  39.       <s:element name="GetSessionID">
  40.         <s:complexType />
  41.       </s:element>
  42.       <s:element name="GetSessionIDResponse">
  43.         <s:complexType>
  44.           <s:sequence>
  45.             <s:element minOccurs="0" maxOccurs="1" name="GetSessionIDResult" type="s:string" />
  46.           </s:sequence>
  47.         </s:complexType>
  48.       </s:element>
  49.       <s:element name="LengthyMethodCall">
  50.         <s:complexType>
  51.           <s:sequence>
  52.             <s:element minOccurs="1" maxOccurs="1" name="seconds" type="s:int" />
  53.           </s:sequence>
  54.         </s:complexType>
  55.       </s:element>
  56.       <s:element name="LengthyMethodCallResponse">
  57.         <s:complexType>
  58.           <s:sequence>
  59.             <s:element minOccurs="1" maxOccurs="1" name="LengthyMethodCallResult" type="s:int" />
  60.           </s:sequence>
  61.         </s:complexType>
  62.       </s:element>
  63.       <s:element name="OneWayLengthyMethodCall">
  64.         <s:complexType>
  65.           <s:sequence>
  66.             <s:element minOccurs="1" maxOccurs="1" name="seconds" type="s:int" />
  67.           </s:sequence>
  68.         </s:complexType>
  69.       </s:element>
  70.       <s:element name="ThrowAnException">
  71.         <s:complexType />
  72.       </s:element>
  73.       <s:element name="ThrowAnExceptionResponse">
  74.         <s:complexType />
  75.       </s:element>
  76.       <s:element name="GetClientTime">
  77.         <s:complexType />
  78.       </s:element>
  79.       <s:element name="GetClientTimeResponse">
  80.         <s:complexType>
  81.           <s:sequence>
  82.             <s:element minOccurs="0" maxOccurs="1" name="GetClientTimeResult" type="s:string" />
  83.           </s:sequence>
  84.         </s:complexType>
  85.       </s:element>
  86.       <s:element name="UserInfoHeader" type="s0:UserInfoHeader" />
  87.       <s:complexType name="UserInfoHeader">
  88.         <s:sequence>
  89.           <s:element minOccurs="0" maxOccurs="1" name="Culture" type="s:string" />
  90.           <s:element minOccurs="1" maxOccurs="1" name="TimeOffset" type="s:float" />
  91.         </s:sequence>
  92.       </s:complexType>
  93.       <s:element name="ProtectedMethod">
  94.         <s:complexType />
  95.       </s:element>
  96.       <s:element name="ProtectedMethodResponse">
  97.         <s:complexType>
  98.           <s:sequence>
  99.             <s:element minOccurs="1" maxOccurs="1" name="ProtectedMethodResult" type="s:boolean" />
  100.           </s:sequence>
  101.         </s:complexType>
  102.       </s:element>
  103.       <s:element name="AccountInfoHeader" type="s0:AccountInfoHeader" />
  104.       <s:complexType name="AccountInfoHeader">
  105.         <s:sequence>
  106.           <s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
  107.           <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
  108.         </s:sequence>
  109.       </s:complexType>
  110.       <s:element name="AnotherProtectedMethod">
  111.         <s:complexType />
  112.       </s:element>
  113.       <s:element name="AnotherProtectedMethodResponse">
  114.         <s:complexType>
  115.           <s:sequence>
  116.             <s:element minOccurs="1" maxOccurs="1" name="AnotherProtectedMethodResult" type="s:boolean" />
  117.           </s:sequence>
  118.         </s:complexType>
  119.       </s:element>
  120.       <s:element name="YetAnotherProtectedMethod">
  121.         <s:complexType />
  122.       </s:element>
  123.       <s:element name="YetAnotherProtectedMethodResponse">
  124.         <s:complexType>
  125.           <s:sequence>
  126.             <s:element minOccurs="1" maxOccurs="1" name="YetAnotherProtectedMethodResult" type="s:boolean" />
  127.           </s:sequence>
  128.         </s:complexType>
  129.       </s:element>
  130.       <s:element name="dateTime" type="s:dateTime" />
  131.       <s:element name="int" type="s:int" />
  132.       <s:element name="string" nillable="true" type="s:string" />
  133.       <s:element name="Document" nillable="true" type="s0:Document" />
  134.       <s:complexType name="Document">
  135.         <s:sequence>
  136.           <s:element minOccurs="1" maxOccurs="1" name="Date" type="s:dateTime" />
  137.           <s:element minOccurs="1" maxOccurs="1" name="Number" type="s:int" />
  138.         </s:sequence>
  139.       </s:complexType>
  140.     </s:schema>
  141.     <s:schema targetNamespace="http://www.vb2themax.com/encodedTypes">
  142.       <s:complexType name="Document">
  143.         <s:sequence>
  144.           <s:element minOccurs="1" maxOccurs="1" name="Date" type="s:dateTime" />
  145.           <s:element minOccurs="1" maxOccurs="1" name="Number" type="s:int" />
  146.         </s:sequence>
  147.       </s:complexType>
  148.       <s:complexType name="PurchaseOrder">
  149.         <s:complexContent mixed="false">
  150.           <s:extension base="s1:Document">
  151.             <s:sequence>
  152.               <s:element minOccurs="1" maxOccurs="1" name="AuthorizedBy" type="s:string" />
  153.             </s:sequence>
  154.           </s:extension>
  155.         </s:complexContent>
  156.       </s:complexType>
  157.       <s:complexType name="Invoice">
  158.         <s:complexContent mixed="false">
  159.           <s:extension base="s1:Document">
  160.             <s:sequence>
  161.               <s:element minOccurs="1" maxOccurs="1" name="Total" type="s:decimal" />
  162.             </s:sequence>
  163.           </s:extension>
  164.         </s:complexContent>
  165.       </s:complexType>
  166.     </s:schema>
  167.   </types>
  168.   <message name="GetTimeSoapIn">
  169.     <part name="parameters" element="s0:GetTime" />
  170.   </message>
  171.   <message name="GetTimeSoapOut">
  172.     <part name="parameters" element="s0:GetTimeResponse" />
  173.   </message>
  174.   <message name="GetTimeCounterSoapIn">
  175.     <part name="parameters" element="s0:GetTimeCounter" />
  176.   </message>
  177.   <message name="GetTimeCounterSoapOut">
  178.     <part name="parameters" element="s0:GetTimeCounterResponse" />
  179.   </message>
  180.   <message name="IncrementCounterSoapIn">
  181.     <part name="parameters" element="s0:IncrementCounter" />
  182.   </message>
  183.   <message name="IncrementCounterSoapOut">
  184.     <part name="parameters" element="s0:IncrementCounterResponse" />
  185.   </message>
  186.   <message name="GetSessionIDSoapIn">
  187.     <part name="parameters" element="s0:GetSessionID" />
  188.   </message>
  189.   <message name="GetSessionIDSoapOut">
  190.     <part name="parameters" element="s0:GetSessionIDResponse" />
  191.   </message>
  192.   <message name="LengthyMethodCallSoapIn">
  193.     <part name="parameters" element="s0:LengthyMethodCall" />
  194.   </message>
  195.   <message name="LengthyMethodCallSoapOut">
  196.     <part name="parameters" element="s0:LengthyMethodCallResponse" />
  197.   </message>
  198.   <message name="OneWayLengthyMethodCallSoapIn">
  199.     <part name="parameters" element="s0:OneWayLengthyMethodCall" />
  200.   </message>
  201.   <message name="GetDocumentSoapIn">
  202.     <part name="docname" type="s:string" />
  203.   </message>
  204.   <message name="GetDocumentSoapOut">
  205.     <part name="GetDocumentResult" type="s1:Document" />
  206.   </message>
  207.   <message name="ThrowAnExceptionSoapIn">
  208.     <part name="parameters" element="s0:ThrowAnException" />
  209.   </message>
  210.   <message name="ThrowAnExceptionSoapOut">
  211.     <part name="parameters" element="s0:ThrowAnExceptionResponse" />
  212.   </message>
  213.   <message name="GetClientTimeSoapIn">
  214.     <part name="parameters" element="s0:GetClientTime" />
  215.   </message>
  216.   <message name="GetClientTimeSoapOut">
  217.     <part name="parameters" element="s0:GetClientTimeResponse" />
  218.   </message>
  219.   <message name="GetClientTimeUserInfoHeader">
  220.     <part name="UserInfoHeader" element="s0:UserInfoHeader" />
  221.   </message>
  222.   <message name="ProtectedMethodSoapIn">
  223.     <part name="parameters" element="s0:ProtectedMethod" />
  224.   </message>
  225.   <message name="ProtectedMethodSoapOut">
  226.     <part name="parameters" element="s0:ProtectedMethodResponse" />
  227.   </message>
  228.   <message name="ProtectedMethodAccountInfoHeader">
  229.     <part name="AccountInfoHeader" element="s0:AccountInfoHeader" />
  230.   </message>
  231.   <message name="AnotherProtectedMethodSoapIn">
  232.     <part name="parameters" element="s0:AnotherProtectedMethod" />
  233.   </message>
  234.   <message name="AnotherProtectedMethodSoapOut">
  235.     <part name="parameters" element="s0:AnotherProtectedMethodResponse" />
  236.   </message>
  237.   <message name="AnotherProtectedMethodAccountInfoHeader">
  238.     <part name="AccountInfoHeader" element="s0:AccountInfoHeader" />
  239.   </message>
  240.   <message name="YetAnotherProtectedMethodSoapIn">
  241.     <part name="parameters" element="s0:YetAnotherProtectedMethod" />
  242.   </message>
  243.   <message name="YetAnotherProtectedMethodSoapOut">
  244.     <part name="parameters" element="s0:YetAnotherProtectedMethodResponse" />
  245.   </message>
  246.   <message name="YetAnotherProtectedMethodAccountInfoHeader">
  247.     <part name="AccountInfoHeader" element="s0:AccountInfoHeader" />
  248.   </message>
  249.   <message name="GetTimeHttpGetIn">
  250.     <part name="arg" type="s:string" />
  251.   </message>
  252.   <message name="GetTimeHttpGetOut">
  253.     <part name="Body" element="s0:dateTime" />
  254.   </message>
  255.   <message name="GetTimeCounterHttpGetIn" />
  256.   <message name="GetTimeCounterHttpGetOut">
  257.     <part name="Body" element="s0:int" />
  258.   </message>
  259.   <message name="IncrementCounterHttpGetIn" />
  260.   <message name="IncrementCounterHttpGetOut">
  261.     <part name="Body" element="s0:int" />
  262.   </message>
  263.   <message name="GetSessionIDHttpGetIn" />
  264.   <message name="GetSessionIDHttpGetOut">
  265.     <part name="Body" element="s0:string" />
  266.   </message>
  267.   <message name="LengthyMethodCallHttpGetIn">
  268.     <part name="seconds" type="s:string" />
  269.   </message>
  270.   <message name="LengthyMethodCallHttpGetOut">
  271.     <part name="Body" element="s0:int" />
  272.   </message>
  273.   <message name="OneWayLengthyMethodCallHttpGetIn">
  274.     <part name="seconds" type="s:string" />
  275.   </message>
  276.   <message name="OneWayLengthyMethodCallHttpGetOut" />
  277.   <message name="GetDocumentHttpGetIn">
  278.     <part name="docname" type="s:string" />
  279.   </message>
  280.   <message name="GetDocumentHttpGetOut">
  281.     <part name="Body" element="s0:Document" />
  282.   </message>
  283.   <message name="ThrowAnExceptionHttpGetIn" />
  284.   <message name="ThrowAnExceptionHttpGetOut" />
  285.   <message name="GetClientTimeHttpGetIn" />
  286.   <message name="GetClientTimeHttpGetOut">
  287.     <part name="Body" element="s0:string" />
  288.   </message>
  289.   <message name="GetTimeHttpPostIn">
  290.     <part name="arg" type="s:string" />
  291.   </message>
  292.   <message name="GetTimeHttpPostOut">
  293.     <part name="Body" element="s0:dateTime" />
  294.   </message>
  295.   <message name="GetTimeCounterHttpPostIn" />
  296.   <message name="GetTimeCounterHttpPostOut">
  297.     <part name="Body" element="s0:int" />
  298.   </message>
  299.   <message name="IncrementCounterHttpPostIn" />
  300.   <message name="IncrementCounterHttpPostOut">
  301.     <part name="Body" element="s0:int" />
  302.   </message>
  303.   <message name="GetSessionIDHttpPostIn" />
  304.   <message name="GetSessionIDHttpPostOut">
  305.     <part name="Body" element="s0:string" />
  306.   </message>
  307.   <message name="LengthyMethodCallHttpPostIn">
  308.     <part name="seconds" type="s:string" />
  309.   </message>
  310.   <message name="LengthyMethodCallHttpPostOut">
  311.     <part name="Body" element="s0:int" />
  312.   </message>
  313.   <message name="OneWayLengthyMethodCallHttpPostIn">
  314.     <part name="seconds" type="s:string" />
  315.   </message>
  316.   <message name="OneWayLengthyMethodCallHttpPostOut" />
  317.   <message name="GetDocumentHttpPostIn">
  318.     <part name="docname" type="s:string" />
  319.   </message>
  320.   <message name="GetDocumentHttpPostOut">
  321.     <part name="Body" element="s0:Document" />
  322.   </message>
  323.   <message name="ThrowAnExceptionHttpPostIn" />
  324.   <message name="ThrowAnExceptionHttpPostOut" />
  325.   <message name="GetClientTimeHttpPostIn" />
  326.   <message name="GetClientTimeHttpPostOut">
  327.     <part name="Body" element="s0:string" />
  328.   </message>
  329.   <portType name="SampleServiceSoap">
  330.     <operation name="GetTime">
  331.       <input message="s0:GetTimeSoapIn" />
  332.       <output message="s0:GetTimeSoapOut" />
  333.     </operation>
  334.     <operation name="GetTimeCounter">
  335.       <documentation>The number of times GetTime has been called</documentation>
  336.       <input message="s0:GetTimeCounterSoapIn" />
  337.       <output message="s0:GetTimeCounterSoapOut" />
  338.     </operation>
  339.     <operation name="IncrementCounter">
  340.       <input message="s0:IncrementCounterSoapIn" />
  341.       <output message="s0:IncrementCounterSoapOut" />
  342.     </operation>
  343.     <operation name="GetSessionID">
  344.       <input message="s0:GetSessionIDSoapIn" />
  345.       <output message="s0:GetSessionIDSoapOut" />
  346.     </operation>
  347.     <operation name="LengthyMethodCall">
  348.       <documentation>A lengthy method</documentation>
  349.       <input message="s0:LengthyMethodCallSoapIn" />
  350.       <output message="s0:LengthyMethodCallSoapOut" />
  351.     </operation>
  352.     <operation name="OneWayLengthyMethodCall">
  353.       <input message="s0:OneWayLengthyMethodCallSoapIn" />
  354.     </operation>
  355.     <operation name="GetDocument">
  356.       <input message="s0:GetDocumentSoapIn" />
  357.       <output message="s0:GetDocumentSoapOut" />
  358.     </operation>
  359.     <operation name="ThrowAnException">
  360.       <input message="s0:ThrowAnExceptionSoapIn" />
  361.       <output message="s0:ThrowAnExceptionSoapOut" />
  362.     </operation>
  363.     <operation name="GetClientTime">
  364.       <input message="s0:GetClientTimeSoapIn" />
  365.       <output message="s0:GetClientTimeSoapOut" />
  366.     </operation>
  367.     <operation name="ProtectedMethod">
  368.       <input message="s0:ProtectedMethodSoapIn" />
  369.       <output message="s0:ProtectedMethodSoapOut" />
  370.     </operation>
  371.     <operation name="AnotherProtectedMethod">
  372.       <input message="s0:AnotherProtectedMethodSoapIn" />
  373.       <output message="s0:AnotherProtectedMethodSoapOut" />
  374.     </operation>
  375.     <operation name="YetAnotherProtectedMethod">
  376.       <input message="s0:YetAnotherProtectedMethodSoapIn" />
  377.       <output message="s0:YetAnotherProtectedMethodSoapOut" />
  378.     </operation>
  379.   </portType>
  380.   <portType name="SampleServiceHttpGet">
  381.     <operation name="GetTime">
  382.       <input message="s0:GetTimeHttpGetIn" />
  383.       <output message="s0:GetTimeHttpGetOut" />
  384.     </operation>
  385.     <operation name="GetTimeCounter">
  386.       <documentation>The number of times GetTime has been called</documentation>
  387.       <input message="s0:GetTimeCounterHttpGetIn" />
  388.       <output message="s0:GetTimeCounterHttpGetOut" />
  389.     </operation>
  390.     <operation name="IncrementCounter">
  391.       <input message="s0:IncrementCounterHttpGetIn" />
  392.       <output message="s0:IncrementCounterHttpGetOut" />
  393.     </operation>
  394.     <operation name="GetSessionID">
  395.       <input message="s0:GetSessionIDHttpGetIn" />
  396.       <output message="s0:GetSessionIDHttpGetOut" />
  397.     </operation>
  398.     <operation name="LengthyMethodCall">
  399.       <documentation>A lengthy method</documentation>
  400.       <input message="s0:LengthyMethodCallHttpGetIn" />
  401.       <output message="s0:LengthyMethodCallHttpGetOut" />
  402.     </operation>
  403.     <operation name="OneWayLengthyMethodCall">
  404.       <input message="s0:OneWayLengthyMethodCallHttpGetIn" />
  405.       <output message="s0:OneWayLengthyMethodCallHttpGetOut" />
  406.     </operation>
  407.     <operation name="GetDocument">
  408.       <input message="s0:GetDocumentHttpGetIn" />
  409.       <output message="s0:GetDocumentHttpGetOut" />
  410.     </operation>
  411.     <operation name="ThrowAnException">
  412.       <input message="s0:ThrowAnExceptionHttpGetIn" />
  413.       <output message="s0:ThrowAnExceptionHttpGetOut" />
  414.     </operation>
  415.     <operation name="GetClientTime">
  416.       <input message="s0:GetClientTimeHttpGetIn" />
  417.       <output message="s0:GetClientTimeHttpGetOut" />
  418.     </operation>
  419.   </portType>
  420.   <portType name="SampleServiceHttpPost">
  421.     <operation name="GetTime">
  422.       <input message="s0:GetTimeHttpPostIn" />
  423.       <output message="s0:GetTimeHttpPostOut" />
  424.     </operation>
  425.     <operation name="GetTimeCounter">
  426.       <documentation>The number of times GetTime has been called</documentation>
  427.       <input message="s0:GetTimeCounterHttpPostIn" />
  428.       <output message="s0:GetTimeCounterHttpPostOut" />
  429.     </operation>
  430.     <operation name="IncrementCounter">
  431.       <input message="s0:IncrementCounterHttpPostIn" />
  432.       <output message="s0:IncrementCounterHttpPostOut" />
  433.     </operation>
  434.     <operation name="GetSessionID">
  435.       <input message="s0:GetSessionIDHttpPostIn" />
  436.       <output message="s0:GetSessionIDHttpPostOut" />
  437.     </operation>
  438.     <operation name="LengthyMethodCall">
  439.       <documentation>A lengthy method</documentation>
  440.       <input message="s0:LengthyMethodCallHttpPostIn" />
  441.       <output message="s0:LengthyMethodCallHttpPostOut" />
  442.     </operation>
  443.     <operation name="OneWayLengthyMethodCall">
  444.       <input message="s0:OneWayLengthyMethodCallHttpPostIn" />
  445.       <output message="s0:OneWayLengthyMethodCallHttpPostOut" />
  446.     </operation>
  447.     <operation name="GetDocument">
  448.       <input message="s0:GetDocumentHttpPostIn" />
  449.       <output message="s0:GetDocumentHttpPostOut" />
  450.     </operation>
  451.     <operation name="ThrowAnException">
  452.       <input message="s0:ThrowAnExceptionHttpPostIn" />
  453.       <output message="s0:ThrowAnExceptionHttpPostOut" />
  454.     </operation>
  455.     <operation name="GetClientTime">
  456.       <input message="s0:GetClientTimeHttpPostIn" />
  457.       <output message="s0:GetClientTimeHttpPostOut" />
  458.     </operation>
  459.   </portType>
  460.   <binding name="SampleServiceSoap" type="s0:SampleServiceSoap">
  461.     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
  462.     <operation name="GetTime">
  463.       <soap:operation soapAction="http://www.vb2themax.com/GetTime" style="document" />
  464.       <input>
  465.         <soap:body use="literal" />
  466.       </input>
  467.       <output>
  468.         <soap:body use="literal" />
  469.       </output>
  470.     </operation>
  471.     <operation name="GetTimeCounter">
  472.       <soap:operation soapAction="http://www.vb2themax.com/GetTimeCounter" style="document" />
  473.       <input>
  474.         <soap:body use="literal" />
  475.       </input>
  476.       <output>
  477.         <soap:body use="literal" />
  478.       </output>
  479.     </operation>
  480.     <operation name="IncrementCounter">
  481.       <soap:operation soapAction="http://www.vb2themax.com/IncrementCounter" style="document" />
  482.       <input>
  483.         <soap:body use="literal" />
  484.       </input>
  485.       <output>
  486.         <soap:body use="literal" />
  487.       </output>
  488.     </operation>
  489.     <operation name="GetSessionID">
  490.       <soap:operation soapAction="http://www.vb2themax.com/GetSessionID" style="document" />
  491.       <input>
  492.         <soap:body use="literal" />
  493.       </input>
  494.       <output>
  495.         <soap:body use="literal" />
  496.       </output>
  497.     </operation>
  498.     <operation name="LengthyMethodCall">
  499.       <soap:operation soapAction="http://www.vb2themax.com/LengthyMethodCall" style="document" />
  500.       <input>
  501.         <soap:body use="literal" />
  502.       </input>
  503.       <output>
  504.         <soap:body use="literal" />
  505.       </output>
  506.     </operation>
  507.     <operation name="OneWayLengthyMethodCall">
  508.       <soap:operation soapAction="http://www.vb2themax.com/OneWayLengthyMethodCall" style="document" />
  509.       <input>
  510.         <soap:body use="literal" />
  511.       </input>
  512.     </operation>
  513.     <operation name="GetDocument">
  514.       <soap:operation soapAction="http://www.vb2themax.com/GetDocument" style="rpc" />
  515.       <input>
  516.         <soap:body use="encoded" namespace="http://www.vb2themax.com/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
  517.       </input>
  518.       <output>
  519.         <soap:body use="encoded" namespace="http://www.vb2themax.com/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
  520.       </output>
  521.     </operation>
  522.     <operation name="ThrowAnException">
  523.       <soap:operation soapAction="http://www.vb2themax.com/ThrowAnException" style="document" />
  524.       <input>
  525.         <soap:body use="literal" />
  526.       </input>
  527.       <output>
  528.         <soap:body use="literal" />
  529.       </output>
  530.     </operation>
  531.     <operation name="GetClientTime">
  532.       <soap:operation soapAction="http://www.vb2themax.com/GetClientTime" style="document" />
  533.       <input>
  534.         <soap:body use="literal" />
  535.         <soap:header message="s0:GetClientTimeUserInfoHeader" part="UserInfoHeader" use="literal" />
  536.       </input>
  537.       <output>
  538.         <soap:body use="literal" />
  539.       </output>
  540.     </operation>
  541.     <operation name="ProtectedMethod">
  542.       <soap:operation soapAction="http://www.vb2themax.com/ProtectedMethod" style="document" />
  543.       <input>
  544.         <soap:body use="literal" />
  545.         <soap:header d5p1:required="true" message="s0:ProtectedMethodAccountInfoHeader" part="AccountInfoHeader" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
  546.       </input>
  547.       <output>
  548.         <soap:body use="literal" />
  549.       </output>
  550.     </operation>
  551.     <operation name="AnotherProtectedMethod">
  552.       <soap:operation soapAction="http://www.vb2themax.com/AnotherProtectedMethod" style="document" />
  553.       <input>
  554.         <soap:body use="literal" />
  555.         <soap:header d5p1:required="true" message="s0:AnotherProtectedMethodAccountInfoHeader" part="AccountInfoHeader" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
  556.       </input>
  557.       <output>
  558.         <soap:body use="literal" />
  559.       </output>
  560.     </operation>
  561.     <operation name="YetAnotherProtectedMethod">
  562.       <soap:operation soapAction="http://www.vb2themax.com/YetAnotherProtectedMethod" style="document" />
  563.       <input>
  564.         <soap:body use="literal" />
  565.         <soap:header d5p1:required="true" message="s0:YetAnotherProtectedMethodAccountInfoHeader" part="AccountInfoHeader" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
  566.       </input>
  567.       <output>
  568.         <soap:body use="literal" />
  569.       </output>
  570.     </operation>
  571.   </binding>
  572.   <binding name="SampleServiceHttpGet" type="s0:SampleServiceHttpGet">
  573.     <http:binding verb="GET" />
  574.     <operation name="GetTime">
  575.       <http:operation location="/GetTime" />
  576.       <input>
  577.         <http:urlEncoded />
  578.       </input>
  579.       <output>
  580.         <mime:mimeXml part="Body" />
  581.       </output>
  582.     </operation>
  583.     <operation name="GetTimeCounter">
  584.       <http:operation location="/GetTimeCounter" />
  585.       <input>
  586.         <http:urlEncoded />
  587.       </input>
  588.       <output>
  589.         <mime:mimeXml part="Body" />
  590.       </output>
  591.     </operation>
  592.     <operation name="IncrementCounter">
  593.       <http:operation location="/IncrementCounter" />
  594.       <input>
  595.         <http:urlEncoded />
  596.       </input>
  597.       <output>
  598.         <mime:mimeXml part="Body" />
  599.       </output>
  600.     </operation>
  601.     <operation name="GetSessionID">
  602.       <http:operation location="/GetSessionID" />
  603.       <input>
  604.         <http:urlEncoded />
  605.       </input>
  606.       <output>
  607.         <mime:mimeXml part="Body" />
  608.       </output>
  609.     </operation>
  610.     <operation name="LengthyMethodCall">
  611.       <http:operation location="/LengthyMethodCall" />
  612.       <input>
  613.         <http:urlEncoded />
  614.       </input>
  615.       <output>
  616.         <mime:mimeXml part="Body" />
  617.       </output>
  618.     </operation>
  619.     <operation name="OneWayLengthyMethodCall">
  620.       <http:operation location="/OneWayLengthyMethodCall" />
  621.       <input>
  622.         <http:urlEncoded />
  623.       </input>
  624.       <output />
  625.     </operation>
  626.     <operation name="GetDocument">
  627.       <http:operation location="/GetDocument" />
  628.       <input>
  629.         <http:urlEncoded />
  630.       </input>
  631.       <output>
  632.         <mime:mimeXml part="Body" />
  633.       </output>
  634.     </operation>
  635.     <operation name="ThrowAnException">
  636.       <http:operation location="/ThrowAnException" />
  637.       <input>
  638.         <http:urlEncoded />
  639.       </input>
  640.       <output />
  641.     </operation>
  642.     <operation name="GetClientTime">
  643.       <http:operation location="/GetClientTime" />
  644.       <input>
  645.         <http:urlEncoded />
  646.       </input>
  647.       <output>
  648.         <mime:mimeXml part="Body" />
  649.       </output>
  650.     </operation>
  651.   </binding>
  652.   <binding name="SampleServiceHttpPost" type="s0:SampleServiceHttpPost">
  653.     <http:binding verb="POST" />
  654.     <operation name="GetTime">
  655.       <http:operation location="/GetTime" />
  656.       <input>
  657.         <mime:content type="application/x-www-form-urlencoded" />
  658.       </input>
  659.       <output>
  660.         <mime:mimeXml part="Body" />
  661.       </output>
  662.     </operation>
  663.     <operation name="GetTimeCounter">
  664.       <http:operation location="/GetTimeCounter" />
  665.       <input>
  666.         <mime:content type="application/x-www-form-urlencoded" />
  667.       </input>
  668.       <output>
  669.         <mime:mimeXml part="Body" />
  670.       </output>
  671.     </operation>
  672.     <operation name="IncrementCounter">
  673.       <http:operation location="/IncrementCounter" />
  674.       <input>
  675.         <mime:content type="application/x-www-form-urlencoded" />
  676.       </input>
  677.       <output>
  678.         <mime:mimeXml part="Body" />
  679.       </output>
  680.     </operation>
  681.     <operation name="GetSessionID">
  682.       <http:operation location="/GetSessionID" />
  683.       <input>
  684.         <mime:content type="application/x-www-form-urlencoded" />
  685.       </input>
  686.       <output>
  687.         <mime:mimeXml part="Body" />
  688.       </output>
  689.     </operation>
  690.     <operation name="LengthyMethodCall">
  691.       <http:operation location="/LengthyMethodCall" />
  692.       <input>
  693.         <mime:content type="application/x-www-form-urlencoded" />
  694.       </input>
  695.       <output>
  696.         <mime:mimeXml part="Body" />
  697.       </output>
  698.     </operation>
  699.     <operation name="OneWayLengthyMethodCall">
  700.       <http:operation location="/OneWayLengthyMethodCall" />
  701.       <input>
  702.         <mime:content type="application/x-www-form-urlencoded" />
  703.       </input>
  704.       <output />
  705.     </operation>
  706.     <operation name="GetDocument">
  707.       <http:operation location="/GetDocument" />
  708.       <input>
  709.         <mime:content type="application/x-www-form-urlencoded" />
  710.       </input>
  711.       <output>
  712.         <mime:mimeXml part="Body" />
  713.       </output>
  714.     </operation>
  715.     <operation name="ThrowAnException">
  716.       <http:operation location="/ThrowAnException" />
  717.       <input>
  718.         <mime:content type="application/x-www-form-urlencoded" />
  719.       </input>
  720.       <output />
  721.     </operation>
  722.     <operation name="GetClientTime">
  723.       <http:operation location="/GetClientTime" />
  724.       <input>
  725.         <mime:content type="application/x-www-form-urlencoded" />
  726.       </input>
  727.       <output>
  728.         <mime:mimeXml part="Body" />
  729.       </output>
  730.     </operation>
  731.   </binding>
  732.   <service name="SampleService">
  733.     <documentation>A web service with methods for doing tests</documentation>
  734.     <port name="SampleServiceSoap" binding="s0:SampleServiceSoap">
  735.       <soap:address location="http://localhost/advancedws/sampleservice.asmx" />
  736.     </port>
  737.     <port name="SampleServiceHttpGet" binding="s0:SampleServiceHttpGet">
  738.       <http:address location="http://localhost/advancedws/sampleservice.asmx" />
  739.     </port>
  740.     <port name="SampleServiceHttpPost" binding="s0:SampleServiceHttpPost">
  741.       <http:address location="http://localhost/advancedws/sampleservice.asmx" />
  742.     </port>
  743.   </service>
  744. </definitions>